package com.liuweiheng.springcloud.feign;

import com.liuweiheng.base.entity.R;
import com.liuweiheng.cloudproviderpayment8002.entity.User;
import org.springframework.stereotype.Component;

/**
 * 处理Feign调用服务降级兜底策略
 */
@Component
public class PaymentFallbackService implements PaymentFeignService {

    @Override
    public R login(User user) {
        return R.error("----- PaymentFabllbackService o(╥﹏╥)o");
    }

}
